<template>
    <van-nav-bar title="首页" />
    <Search></Search>
    <Swipe :images="images"></Swipe>
</template>

<script setup>
import { swiperdataApi } from '@/api/api';
import Search from '@/components/Search.vue';
import Swipe from '@/components/Swipe.vue';
import { ref } from 'vue';
let images=ref([])
swiperdataApi().then(res=>{
    images.value=res.data.message
})
</script>

<style lang="scss" scoped>

</style>